There are other things to worry about.
It's also irrelevant, water is incredibly abundant in our solar system and we don't even have the largest oceans on Earth, they're just the largest ones on the surface.
Where is it?
Bottom line is that water is never in short supply. Nitrogen is likely to be the real bottleneck in our future efforts at colonisation and terraforming - at least till if/when we master star lifting of resources. At that point, mass and energy no longer make meaningful limiters and waste heat disposal becomes the primary menace to further development.
We just need to solve the simple problem of moving it from the atmosphere of Venus to where we want it to be. ;)
At a high enough altitude, both the pressure and temperature drops to Earth's equivilent. If you have a large enough structure that is relatively airtight (it doesn't need to be perfect), you only need a small temperature gradient to keep it aloft in the upper Venusuean atmosphere.
You could have cloud cities with open air balcony areas where you can walk around with only some basic protective gear and an oxygen supply to protect against the corrosive air and perhaps enjoy gliders or other airborne amusements. It's also good practice for when we decide to attempt something similar with Saturn and some of the other gas giants.
This realization does not stop us from using much more rare helium in party balloons, though.
This is a problem in the same sense that the sun going red giant is a problem.
To be fair to OP, at the point we're concerned about Exxon Valdez circa 2400 dumping an atmosphere of hydrogen into space and the Sun's expansion, we could solve one problem with the other and bring the Sun's mass over.
Plus hydrogen chemistry, as others have mentioned, will stop at least 99% of the losses you propose simply by reoxidizing in the presence of free oxygen.
Helium is inert and doesn't react, therefore is much more likely to be lost to diffusion.
It's like worrying that astronomers won't be able to enjoy the night sky after we've built a Dyson Sphere.
Theoretical max efficiency: 13.173 MJ/kg of water.[1]
Water in the oceans: 1.35E21 kg [2]
Total energy needed to electrolyze the oceans: 1.77E22 MJ
Total energy recieved by the Earth from the sun per second: 4.3E14 MJ
Time required to elecroyize the oceans using the entire available output of the Sun on Earth at 100% total efficiency: 478.67 days
It is a very silly idea to think that we could accidentally wield many orders of magnitude more energy than humanity has ever harnessed in collective history without noticing.
[1] https://physics.stackexchange.com/questions/24624/water-elec...
[2] https://mathblag.wordpress.com/2013/08/03/how-much-water-is-...
I guess, industrial magnates of 1800s would have shown the same reaction, if someone told them about dangers of burning fossil fuels.
"This is ridiculous!", "But Sun was causing fires for centuries!" and "If it gets bad, we can stop burning more coal!" — those excuses didn't age well, yet most replies to this comment repeat them almost verbatim.
Of course, instantly sending all (or most) of Earth hydrogen into outer space is impossible — at the current technology level. But wasting what little water we have to make it is still a bad idea.
Many places are already short on fresh water — the kind of water, necessary for electrolysis. We can make hydrogen from saltwater too — after purifying it, but that's not commercially viable. No one uses "free" energy from solar panels to make new lakes or refill depleting aquifers.
Most of the Earth's surface is covered by water, but we can't even purify enough to satisfy our biological needs — otherwise Sahara would be a major agricultural and economical attraction. To solve world's water problem would require near-unlimited power, and the hydrogen production is not going to do it. At best, a hydrogen boom would result in another round of colonial robbery: stealing water from people, who can't defend it, to power more air conditioners in USA and Europe.
The whole point of making hydrogen (from water) to store energy is so we can release the energy later — by oxidising it back into water. We get the same amount of water back afterwards. No one is going to be stealing water to make hydrogen.