The UK plans to offer a path to citizenship to many in Hong Kong after Beijing’s new security law.