Electronic Origin of High-Tc Maximization and Persistence in Trilayer Cuprate Superconductors