NHS Wales is partnering with foodbanks to help combat the mental health impacts of the cost-of-living crisis.