From Mexico to Brazil, persistently high inflation is widening the gap between rich and poor, stoking political upheaval that could be a foretaste of what lies ahead the world over.