Resonant Rayleigh scattering from bilayer quantum Hall phases