Neural Hamilton--Jacobi Characteristic Flows for Optimal Transport