Lehn Materne, Psychiatre à Montpellier