Foreign secretary comfortably beats rival Rishi Sunak and faces daunting task of rescuing British economy