PepsiCo won the dismissal of New York’s lawsuit accusing the beverage and snack-food company of polluting the environment with single-use plastic packaging, as the judge criticized the state’s attorney general, Letitia James, for bringing the case. Justice Emilio Colaiacovo of …