The Origin of SL(nC) Current Algebra in Generalized Two-Dimensional Gravity