Selective dopant segregation modulates mesoscale reaction kinetics in layered transition metal oxide