Optimal Estimation of Generic Dynamics by Path-Dependent Neural Jump ODEs