Dynamical Lie algebraic approach to rotationally inelastic scattering of molecules from surfaces