Dynamic X-ray diffraction imaging of the ferroelectric response in bismuth ferrite