Text this: UAV Trajectory Control and Power Optimization for Low-Latency C-V2X Communications in a Federated Learning Environment