The freewheeling duet appears on Malone’s country album F-1 Trillion