Loubes Jean, Pédiatre à Foix