Relativistic jets in the era of X-ray polarimetry