Given relativism is a term that started being used in English philosophy in the 1860s and in German philosophy prior to that you'd be dead wrong.
Galieo uses the term 'relative', and to mean the judgement about magnitudes, but not for the invariance. The paragraph about the motion (the ships) does not contain it.
The term 'relativity' in English was coined by Coleridge; in Physics, adopted by Maxwell - see https://www.etymonline.com/word/relativity
In philosophy, as the parent mentioned, 'relativism' appears first in German in Wilhelm Traugott Krug (the successor of Kant), in 1838 - seemingly in a lexicographical work -, then in English in John Grote (1865) - see https://plato.stanford.edu/entries/relativism