PepsiCo is facing a lawsuit in New York over claims it provides “preferential pricing” to retailer Walmart for the US company’s soft drinks.