Contrastive Trajectory Similarity Learning with Dual-Feature Attention