SPHENIX: smoothed particle hydrodynamics for the next generation of galaxy formation simulations