A predictive neural hierarchical framework for on-line time-optimal motion planning and control of black-box vehicle models