US president plans to eliminate special treatment for Hong Kong after Beijing announces new security legislation.