Critics once warned that Trump’s style would isolate America and embolden adversaries. Instead, it has become a model.