Retailers were on a hiring frenzy during the pandemic. As worries of a recession grow, they are recruiting fewer workers