A hidden pseudogap under the ‘dome’ of superconductivity in electron-doped high-temperature superconductors