Combined search for supersymmetry with photons in proton-proton collisions at $\sqrt{s} =$ 13 TeV