Dynamic Resource Optimization and Altitude Selection in Uav-Based Multi-Access Edge Computing