Phonon traps reduce the quasiparticle density in superconducting circuits