The role of multi-parton interactions in doubly-heavy hadron production