Wal-Mart has petitioned the US supreme Court to intervene in a sex-discrimination case brought by its female workers.