Viret Stéphanie, Psychiatre à Besançon