The president has energized his own supporters, and his attacks on established institutions have triggered a systemic immune response in the body politic.