Remonnay Maxime, Médecin généraliste à Morteau