Text this: Topological 1D gravity, KP hierarchy, and orbifold Euler characteristics of M‾g,n