Beijing imposed a national security law that quashed dissent and reshaped the Hong Kong's legal landscape