Short-term thinking and lack of funding are wrecking the life chances of young people in the care of local authorities