Former shadow early years minister Helen Hayes has been elected as chair of the House of Commons’ Education Committee.