who was defeated by abraham lincoln in the presidential election?