A populist former prime minister whose party is favored to win Slovakia’s early parliamentary election plans to reverse the country’s military and political support for neighboring Ukraine, in a direct challenge to the European Union and NATO, if he returns to power.