WASHINGTON—The United States struck a deal with Ecuador to refinance its China debt, as part of an effort to counter Beijing’s growing influence in Latin America. The U.S. International Development Finance Corporation (DFC) signed a framework agreement with the government of Ecuador on Jan. 14 to refinance its preexisting debt to China and support the…