Gender equality in schools is hiding disadvantages for both boys and girls