INTENT: Trajectory Prediction Framework with Intention-Guided Contrastive Clustering