The first is correct.
'Wish' in this sense can only be followed by a noun, as in 'I wished him good luck' or 'We wish you a happy new year.' When used in this way, it can't be followed by a verb phrase.
The second makes no sense. The other person can say 'I hope you have a good trip'.