Doping-induced metallicity and coexistence of magnetic subsystems in K2Fe4+xSe5