Intention-aware Hierarchical Diffusion Model for Long-term Trajectory Anomaly Detection