The main sequence of star-forming galaxies - II. A non-evolving slope at the high-mass end