Pass cart item values to is_valid_for_product method in WC_Coupon

This is simply so third party plugins can determine if a cart item is valid for a discount based on custom item attributes.

This is done in a backward compatible manner so it shouldn't affect compatibility with plugins that already hook into this filter.