Pre-school education has a positive long-term impact on childrens educational achievement but is not helping pupils from disadvantaged backgrounds to catch up with their middle-class peers, a new study has concluded.