Exploring the influence of bulk viscosity of QCD on dilepton tomography