Parses the GPX file, extracting track name and waypoints. Handles XML parsing exceptions and returns null if parsing fails.