The role of relativistic jets in the heaviest and most active supermassive black holes at high redshift