Local governments back many projects where people can grow vegetables in urban areas, but researchers say that it’s not enough to curb hunger