Gradient flow of Einstein-Maxwell theory and Reissner-Nordström black holes