Cold-electron bolometer as a photon-noise-limited detector with on-chip electron self-cooling