The G.O.P. pollster Patrick Ruffini’s book “Party of the People” outlined the realignments reflected in this year’s election results.