Joseph Cheng, 71, used to be one of Hong Kong's busiest activists: a familiar presence in the media and a leading figure in several pro-democracy organizations. After retiring in 2015, the former political-science professor planned to live out his remaining days in the city. But Mr. Cheng's life -- a microcosm of Hong Kong's recent history -- has been turned upside down.