Single‐Atom Catalysis in Mesoporous Photovoltaics: The Principle of Utility Maximization