Bonnefond Bernard, Psychiatre à Talence