Fasting in a healthy man who had a hair transplant is not a problem provided that it is not for a very prolonged period.
You should be healed by now and you can fast without worrying about healing or your hair transplant.