Microscopic optical potential for exotic isotopes from chiral effective field theory