Cantagrel Denis, Psychiatre à Toulouse