Where others see only banana peels and moldy bread, some lawyers envision opportunity under a state law taking effect in October that mandates recycling of food waste.