Mejean François, Médecin généraliste à Foix