Ginolhac Thierry, Psychiatre à Castres