Natos generalsekretær tror ikke Donald Trump vil gjøre alvor av trusselen om å trekke USA ut av forsvarsalliansen.