Democrats captured both chambers of Congress, winning Senate seats in Kansas for the first time since 1932, Texas since 1988 and South Carolina since 1998. The result curbs Donald Trump’s executive power and could weaken his control of the Republican Party.