A Hong Kong judge has convicted seven people, including a pro-democracy former politician, of rioting during mob violence at a subway station at the height of the city’s anti-government protests in July 2019.