Queen Elizabeth visited the headquarters of Britain’s MI5 domestic spy agency on Tuesday to thank the country’s spies for defending the realm.