The G7 foreign ministers issued a joint statement on Wednesday calling on China not to follow through with plans to impose national security legislation on Hong Kong.