Quiver algebras, weighted projective lines, and the Deligne-Simpson problem