West Ham forward Callum Wilson saw his equaliser disallowed after a lengthy VAR check showed a foul on David Raya.