Struggling to build a firewall against a Republican takeover, congressional Democrats are pouring money into roughly two dozen tight races around the country in the campaign’s closing weeks while pulling…