Polymers for dye transfer inhibition in laundry applications