Left-wing opposition candidate wins tight presidential election in Uruguay