Baron Jean-Michel, Psychiatre à Niort