views.flight: use xcsoar python api in _get_flight_path