Republicans captured control of the House of Representatives on Tuesday and expanded their voice in the Senate, as discontented voters, frustrated about the nation’s continuing economic woes, turned sharply against President Obama just two years after catapulting him into the White House.