Joule-Thomson expansion for hairy black holes