WASHINGTON — At one level, the National Security Agency’s surveillance of Chancellor Angela Merkel of Germany is a highly technical story of digital-age espionage, in which the spying is done by entering codes into a distant mainframe instead of by hiding bugs in a politician’s boudoir.