SLS is a common irritant, but it is also commonly found in liquid hand soap and many toothpastes. So might be another irritant like linalool (derived from wool- which some people are allergic to) or a benzoate (used as preservatives) as it’s only affecting your hands when you wash your hair.
I would check everything you use on your hands and compare the ingredients in them to what you use on your hair.