MAIFormer: Multi-Agent Inverted Transformer for Flight Trajectory Prediction