MHz Wavefront Characterisation of X-ray Free Electron Laser Pulses