Canada's former chief justice is retiring from Hong Kong's highest court just days after two British judges quit the court in the wake of the conviction of pro-democracy activists under the city's national security law.