Black hole mergers as tracers of spinning massive black hole and galaxy populations in the Obelisk simulation