Doom Desire Bug Fix (Issue 567)

Future moves fail to activate if the opponent has Wonder Guard, and
deals damage if it activated beforehand to a Wonder Guard Pokemon that
is not weak to them. This commit fixes both of those issues.

https://github.com/Zarel/Pokemon-Showdown/issues/567
See this link for the original issue.