PlanNetX: Learning an Efficient Neural Network Planner from MPC for Longitudinal Control