Exact results in two-dimensional chiral hydrodynamics with gravitational anomalies