Text this: Inferring temporal dynamics from cross-sectional data using Langevin dynamics