Searching for an invisibly decaying Higgs boson in e+e-, eγ, and γγ collisions