At a time when they wanted to focus on the economy, Chinese leaders face a surprise political challenge: A possible Google pullout that could anger China’s public and embolden other companies to vent grievances. Google’s threat to shut down its China-based site Google.cn over censorship and email hacking alarmed a Internet-connected public that has tolerated a gap between rapid economic and technological progress and a closed, secretive political system.