Formula for climate emergency shows if ‘reaction time is longer than intervention time left’ then ‘we have lost control’