NATO’s boss insisted that the alliance “remains the cornerstone of European security,” despite worries about Trump.