Machine learning-guided construction of an analytic kinetic energy functional for orbital free density functional theory