The planet’s resources are under pressure and treasurers need to plan for the worst, says Sally Percy