AdapTraj: A Multi-Source Domain Generalization Framework for Multi-Agent Trajectory Prediction