The Oregon case was the first legal test for an approach Democrat-led states are using to hold producers responsible for their plastic waste.