Emma Graham-Harrison: Britain’s new spy chief has warned that we are in a ‘technology arms race’ with terrorists recruiting an army of hackers to their cause