Inferring stochastic dynamics with growth from cross-sectional data