Hall algebras of weighted projective lines and quantum algebras