The move comes amid growing frustration that the city is unfairly burdened by other people’s litter washing ashore.