There is no Master Ball in Pokémon Shiny Gold. The item is not in the game's code, cannot be obtained through any legitimate means (events, trades, cheats that don't corrupt the save), and does not exist in the hack's item table.
Shiny Gold is a ROM hack of FireRed, not an official game. The creator (Zel) restructured the Pokédex, map, and events—but omitted the Master Ball entirely, likely for balance (the hack already increases shiny rates and alters encounter tables).
Accept the challenge. Catching Mewtwo with an Ultra Ball at 1 HP and Sleep is a better story anyway.