The startling revelations that the NSA has been collecting Americans’ phone data and tapping into U.S. Internet servers is overshadowing President Obama’s first major summit with Chinese President Xi Jinping and undermining Obama’s number one goal for the meeting: to press China on its cybersnooping on Americans.

For more than a...