At a panel discussion, former secretaries of state Condoleezza Rice and Madeleine K. Albright coached President Trump’s ambassador to the United Nations.