Enhanced Thermoelectric Performance in Mg2Si by Functionalized Co‐Doping