What we throw away as food waste may hold the key to healthier crops, stronger ecosystems, and new medical compounds.