Beck André, Psychiatre à Strasbourg