The second sentence establishes that the event happened in the past. To express a regret or wish about a past situation, we use "wish" followed by the past perfect or a past conditional form like "would have come". Option D is the only choice that correctly expresses this past regret.