The first massive compact companion in a wide orbit around a hot subdwarf star