In Beijing, people with knowledge of how China handled Mr. Snowden’s exit from Hong Kong were claiming a tactical victory for China, saying that the government had acted in China’s best interests, and in the long-term interests of its relationship with the United States.