Landmark Supreme Court judgment means thousands could get disability benefit for struggling in social situations