UA 5791 then WN 1674 at Denver
Lubbock → Denver → Kansas City
Timetable, Denver time
08:51UA 5791 from Lubbock at the gate
08:20WN 1674 to Kansas City leaves the gate
23 h 29 apart on the timetable, overnight
WN 1674 leaves 23 h 29 after UA 5791 arrives on the timetable: more than half a day, so not a connection we count.