Into the red: an M-band study of the chemistry and rotation of $β$ Pictoris b at high spectral resolution