Chinese lawyer on trial for social media posts