If you want the scenario to play out exactly like you're imagining, the Dungeons and Dragons 3.5 5th-level Sor/Wiz spell watchware [abjur] (Unapproachable East 53) does pretty much precisely what you describe. The spell's cast on an object and
When that object is damaged, moved, or touched at any later time, you are instantly aware of the fact. If another creature physically touches the object, you also receive a mental image of the creature, which counts as firsthand knowledge of the creature should you later choose to cast scrying or a similar spell on that creature.
The signal has no range limit, apparently functioning across planes, and the spell's effect is permanent until the object is fiddled with.
In Pathfinder, it's likely the path of least resistance is the spell sending held within a ring of spell storing. (There are less expensive alternatives to the ring like a simple scroll, but anyone can use the ring.) Then, to familiarize the sending spell's caster with the wizard, have the inside of the box contain a description of the wizard. (To avoid the ring becoming treasure, the wizard will likely recast the sending spell into the ring and mandate the ring be returned to the box after the crisis is averted.)