Kinematics-aware Trajectory Generation and Prediction with Latent Stochastic Differential Modeling