Learning to Play Trajectory Games Against Opponents with Unknown Objectives