U.S. judge questions validity of Wal-Mart gender suit