The top U.N. official on Thursday said the United States has a “legal obligation” to keep paying its dues that fund U.N.