From the verb líða + -st (“a suffix which turns verbs into middle voice verbs”). See also the appendix about the Icelandic middle voice verbs.
líðast