Rising hardship in schools risks exacerbating educational inequality and hampering pupils’ long-term prospects