Wages are rising steadily, but inflation is wiping out the gains. That’s bad — and costly — news for employers trying to boost retention.