KETJU – resolving small-scale supermassive black hole dynamics in GADGET-4