Mid-sized New York farms are being paid decades-old prices and say they can’t compete with large farms and the global supply chain. State lawmakers are now investigating.