Senator Barack Obama captured a decisive victory in the North Carolina primary on Tuesday, fending off a challenge from his opponent, Senator Hillary Rodham Clinton, who was leading in the night’s other contest in Indiana.