Lower and middle-income jobs saw pay falls in the last decade, research suggests.