Agile and Safe Trajectory Planning for Quadruped Navigation with Motion Anisotropy Awareness