Mattis sharply rebukes Trump’s leadership in a not-so-subtle op-ed warning against abandoning America’s allies