Text this: Accelerating density of states prediction in Zn-doped MgO nanoparticles via kernel-optimized weighted k-NN