Unpaid carers in Wales will benefit from a support scheme helping them to buy basic essential items during the cost-of-living crisis.