Ned Lamont , a Connecticut millionaire whose candidacy for the United States Senate soared from nowhere on a fierce antiwar message , won a narrow victory in the Democratic primary last night over the incumbent , Joseph I. Lieberman .