Wilhelm Patrick, Psychiatre à Strasbourg