The outgoing head of the Secret Intelligence Service on the rise of China, why Putin is not interested in talks — and how screen spies aren’t always far from the truth