Time-resolved imaging of three-dimensional nanoscale magnetization dynamics