Overlap synchronisation in multipartite random energy models