Onboard Trajectory Design in the Circular Restricted Three-Body Problem using a Feature Learning Based Optimal Control Method