US retailer Wal-Mart has confirmed that the president and CEO of its Latin America operations is leaving the company.