Convenience stores will have to start stocking a variety of “staple foods” alongside the snacks and fountain drinks if they want to keep accepting food stamps, under a little-noticed section of the federal farm bill.