Photo‐Electrochemical Device Enabling Luminescence Switching of LaPO4:Ce,Tb Nanoparticle Layers