Calculation method for critical flow rate of carrying liquid in horizontal gas well