Raulot Gérard, Psychiatre à Épinal