Text this: Training hybrid neural networks with multimode optical nonlinearities using digital twins