"Which line do I have to take?"
Translation:Je dois prendre quelle ligne ?
It is grammatically wrong because ‘il faut que’ is followed by the subjunctive ‘je prenne’; it may be a bit too elegant in the context, but perfectly good and possible French! But I too wonder why ‘il faut’ is not allowed here: quelle ligne faut-il prendre? would be perfectly ok.