The vote pits left- and right-wing approaches to tackling crime and redefining the country’s alignment with global partners.