Firstly, Mega Evolving takes priority over using any move at all, so you won't be able to steal the mega stone before it evolves.
Mega Stones ... cannot be taken via Thief and Covet, cause Trick and Switcheroo to fail if used on or by the holder, and cause Fling and Bestow to fail if used by the holder. Embargo and Magic Room also cannot prevent the use of Mega Stones to Mega Evolve Pokémon. Mega Stones are not consumed upon use.
So it won't work