Search-Based Task and Motion Planning for Hybrid Systems: Agile Autonomous Vehicles