who did abraham lincoln defeat in the election?