Layer-resolved resonance intensity of evanescent polariton modes in anisotropic multilayers