Climate change is threatening the world’s efforts to feed a growing population. But our food system is also part of the problem, contributing almost a third of global greenhouse gas emissions.