EMPRESS. XIV. Strong High Ionization Lines of Young Galaxies at z=0-8: Ionizing Spectra Consistent with the Intermediate Mass Black Holes with M_{\rm BH}\sim 10^3-10^6\ M_\odot