There are a few opportunities to unlock this. The first being-
Chapter 14- Navajo
At the end of the Chapter you will say your goodbye's to whoever remains on the ranch. When you get to Joe chose the option to kiss instead of hug.
If you miss it here just take any opportunity you get to kiss Ryan at any point during the story.