Orbital evolution of a planet with tidal dissipation in a restricted three-body system