China’s president championed online freedom—two days after a lawyer was tried for tweeting