Republicans marched toward capturing control of the House of Representatives on Tuesday and expanding their voice in the Senate, riding a powerful wave of voter discontent as they dealt a setback to President Obama two years after his triumphal victory.