He eulogises the 25th incumbent, William McKinley, but on tariffs and imperialism, Trump is learning the wrong lessons