Quantum simulation of Hawking radiation and curved spacetime with a superconducting on-chip black hole