The top U.S. diplomat in Hong Kong has criticized policies by China and Hong Kong for eroding freedoms