The president said he had secured trade deals and made progress on getting Chinese help to reopen the Strait of Hormuz.