When is the winning condition checked in Fluxx?
You won.
From the Fluxx rules:

Winning the Game
The game continues until one player meets the conditions of the current Goal. That player wins immediately, regardless of whose turn it is.

The word 'immediately' doesn't match with what your opponent was trying to tell you.