I had this very same situation come up in a game. I knew from investigating an opponents city that we'd complete the wonder in the same turn, and there was nothing I could do to move it up a turn.
Unfortunately, the answer appears to be that whoever's in front in the turn order will complete the wonder. Sucks, but that's the way it looks like it is.