High-order quadrature-based lattice Boltzmann models for the flow of ultrarelativistic rarefied gases