This presupposes that the V2 is the first use of rocketry in history which...well, it's just not true. You conveniently skipped over the bit about Congreve rockets, which were invented in the late 18th/early 19th century, explicitly for war, or the growing evidence about the use of gunpowder rocketry in Imperial China. Both of these uses were explicitly NOT peaceful. (not hargreve, I misremembered in the OP post).
Also, if you bother to read the article you referenced, it makes it clear that literally nothing came of the experiments apart from that book. It took a war to get the funding and manufacturing resources available to actually _do the work_ of advancing rocketry.
EDIT: to sound less like an asshole and engage with the comment on its face value.
But I wish to step aside now and acknowledge how silly this whole argument is—as most arguments are when it comes to alternate history. Historically the military has been the most well funded of all government enterprises so it should come as no surprise that many innovations happen under such well funded programs. But that does not mean that is the only possible outcome. Humans kept innovating and inventing even as funds were diverted to non-violent endeavors. Today we have universities which are well funded and engage in research, often handing out their gathered knowledge to the rest of humanity (James Webb space telescope can attest to this). Who know what we would have invented already if it wasn’t for the military taking most of the attention of historic societies?
From the wikipedia of V-2 Rockets:
> The world's first large-scale experimental rocket program was Opel-RAK under the leadership of Fritz von Opel and Max Valier, a collaborator of Oberth, during the late 1920s leading to the first manned rocket cars and rocket planes,
Looks like rockets were invented before a global war broke out with peaceful intentions, then the military used that invention for violence, as a global war broke out.
Just because an invention is used for war doesn’t mean it required one to be invented.