The artifact wasn't random.
The shape of the blade's edge matched the shape of the second Death Star's wreckage from a certain point of view. The crossguard had a piece that pulled out to point to the part of the wreckage the wayfinder was in.
The dagger was either created with precognitive insight before the Battle of Endor (not impossible for a Force user), or created after the battle. In either case, somebody clearly wanted the Wayfinder to be located at a later point in time.
Signs point to Palpatine, as the master manipulator of nine films. There's no explicit confirmation within the films themselves; no cackling admission of guilt/plan/foresight or "Yes, I did this and here's why."