Can a monk use Stunning Strike with an unarmed strike, even though unarmed strikes aren’t weapons?

Yes. Stunning Strike works with melee weapon attacks, and an unarmed strike is a special type of melee weapon attack.

The game often makes exceptions to general rules, and this is an important exception: that unarmed strikes count as melee weapon attacks despite not being weapons.