I am asking the question form of this sentence -
Les touristes parlent au guide.
where we have to ask who the tourists talk to.
The second one is correct:
À qui les touristes parlent-ils ?
The second is fine with a comma :
À qui parlent-ils, les touristes ?
There is a third, simpler option:
À qui parlent les touristes ?