Two former employees of Twitter, including a Seattle man, were charged with spying for Saudi Arabia by snooping into thousands of private accounts seeking personal information about critics of the Riyadh government, according to court documents filed Wednesday in San Francisco.