Stabilizing Humanoid Robot Trajectory Generation via Physics-Informed Learning and Control-Informed Steering