Socialists’ agenda takes hold in America’s cities and towns, while their foothold grows in Congress