A variant that emerged in South Africa was found in Sydney, Australia’s largest city, in a hotel quarantine.