HSBC and Standard Chartered banks gave their backing to China’s imposition of a national security law on Hong Kong on Wednesday in a break from their usual policy of political neutrality.