Multi-Agent Reinforcement Learning with Action Masking for UAV-enabled Mobile Communications