Galaxy gas as obscurer – II. Separating the galaxy-scale and nuclear obscurers of active galactic nuclei