Tunable photonic cavity coupled to a voltage-biased double quantum dot system: Diagrammatic nonequilibrium Green's function approach | Synapse