Employment growth in Massachusetts will largely stagnate over the next 18 months, sharply slowing the state’s recovery from a recession, state revenue officials projected yesterday.