Exploring the relativistic regime with Newtonian hydrodynamics: an improved effective gravitational potential for supernova simulations