Fifty years after the Republican Party hit upon a winning formula, President Trump is putting it at risk.