If Donald Trump had not swept to power chanting “build the wall,” someone else might well have. That’s the most chilling takeaway from Greg Grandin’s “The End of the Myth,” an essential, sweeping history of the American frontier, its end and what it has meant to our nation’s sense of itself.