Theory Of Nonclassical Photonic States In Driven-Dissipative Circuit Quantum Electrodynamics