[2404.14073] Towards Robust Trajectory Representations: Isolating Environmental Confounders with Causal Learning