Optical control of the layer degree of freedom through Wannier–Stark states in polar 3R MoS2