Horizontal mean curvature flow and nonlinear PDEs in sub-Riemannian spaces