The ref / assistant ref decides when it's in play, and his last touch of the ball was no more kicking it than the touch before it. He was just moving it about, several times.
Indeed.
I'd have said no goal anyway, as I don't think it's in the spirit of the game to be secretly taking corners, and had the defender run up and kicked the ball the attackers would have claimed they hadn't taken it yet.