The moment distilled the inherent tensions between Trump, an ideologically flexible dealmaker, and Ryan, a loyal Republican whose discomfort with Trump led him to withhold his endorsement