Britain and its allies face a “moment of consequence,” according to the head of its intelligence agency.