The outcomes and timescales of molecular nonadiabatic dynamics are decisively impacted by the quantum coherences generated at localized molecular regions. In time-resolved X-ray diffraction imaging, these coherences create distinct signatures via inelastic photon scattering, but they are buried under much stronger background elastic features. Here, we exploit the rich dynamical information encoded in the inelastic patterns, which we reveal by frequency-dispersed covariance ultrafast powder X-ray diffraction of stochastic X-ray free-electron laser pulses. This is demonstrated for the photoisomerization of azobenzene involving the passage through a conical intersection, where the nuclear wave packet branches and explores different quantum pathways. Snapshots of the coherence dynamics are obtained at high frequency shifts, not accessible with conventional diffraction measurements. These provide access to the timing and to the confined spatial distribution of the valence electrons directly involved in the conical intersection passage. This study can be extended to full three-dimensional imaging of conical intersections with ultrafast X-ray and electron diffraction.