Gradient Structure Of The Ensemble Kalman Flow With Noise