Maximizing Solar Water Splitting Performance by Nanoscopic Control of the Charge Carrier Fluxes across Semiconductor–Electrocatalyst Junctions