The National Endowment for Democracy, created 15 years ago to do in the open what the Central Intelligence Agency has done surreptitiously for decades, spends $30 million a year to support things like political parties, labor unions, dissident movements and the news media in dozens of countries, including China.