CONSTRAINED TOPOLOGICAL GRAVITY FROM TWISTED N = 2 LIOUVILLE THEORY