Computation of the highest coefficients of weighted Ehrhart quasi-polynomials of rational polyhedra