Legislation will have no impact on city’s ‘high degree of autonomy, rights and freedoms of residents, or legitimate rights and interests of foreign investors’, Wang Yi says. Law aims only at a ‘very narrow category of acts that seriously jeopardise national security’