The number of workers switching jobs has fallen by nearly a million since 2022 as they cling on to scarce roles - but also miss out on pay rises.