Honestly, if you don’t know a huge amount about components, it probably is easier just to buy the wheel – anything else would involve dismantling the wheel and rebuilding it with a new hub, or paying someone to do that.
The two default choices for many people would probably be Shimano XT hub on some rim (Mavic 719, or 819 perhaps), or Hope Pro 2 on similar rims. It depends to some extent how much you want to spend, but Merlin and chainreactioncycles often have good deals on prebuilt wheels.
And the switch to 10 speed won’t make any difference to your needs – it’s been designed to fit on existing wheels.
Edit: doh, meant to say you should hang on to the knackered wheel – you might be able to sell it for spares on here (or elsewhere), particularly if the rim and spokes are undamaged.