Hong Kong leader Carrie Lam said she would invoke emergency powers in an effort to "end violence and restore order".