Domain Generalization for Vision-based Driving Trajectory Generation