Critical angular velocity and anisotropic mass loss of rotating stars with radiation-driven winds