Mr. Trump’s notion that investing in relations with Britain and a handful of other countries  Israel, Egypt and perhaps Russia  will substitute for the web of alliances the United States forged after World War II is similarly shallow.