On the Lüroth semigroup of curves lying on a smooth quadric