Delicate interplay between the D0D∗0, ρ0J/ψ, and ωJ/ψ channels in the X(3872) resonance