Adaptive Human Trajectory Prediction via Latent Corridors