John Menzer, vice chairman of Wal-Mart Stores, is to retire from the company on 1 March, having spent 12 years at the US retailer.