Wigan manager Paul Cook believes Arthur Masuaku's dismissal for spitting was the defining moment as his side knocked West Ham out of the FA Cup.