They MIGHT have some kind of deleted scene that they repurposed for IX, but I doubt it. Otherwise, no, they're not going to film something for a movie in 2014 that they didn't even know Abrams would direct in 2018/'19. Besides, I don't think Ford "hates" the character anymore, if he ever really did. I think he had a pretty good experience on TFA, so it's not all that surprising that he might come back for a scene.