Donald Trump and Marco Rubio won Tuesday’s night primetime Republican debate, according to an overnight poll of Internet users who watched the contest, but Mr. Trump came out as the favorite among Republicans and left the best impression about his ability to serve as president.