who ran against lincoln in his first election?