Entangled Cavity State Generation Through Engineered Dissipation