Pujol Frédéric, Psychiatre à Bordeaux