Ravoteur Bernard, Pneumologue à Castres