An engraving of a Dutch ship being unloaded in New Amsterdam in the 17th century. The efforts by the colony’s governor, Peter Stuyvesant, to prevent Quakers from settling, Russell Shorto writes, are almost a template for what President Trump has done to restrict Muslim immigration.