mrphil
If you have a soundcard with several ins/outs and options in the soundcard mixer to routing, you can route your click to some outputs > route that to another input > record that input to a track.
I don't know if there is a smarter way around it in the X-series, I'm on 8. Reaper actually have a neat function to capture click directly to a track.
This is what I recommend, but there's also a really powerful hidden benefit here. ASIO drivers are not the best at detecting latency in hardware. If you route a metronome click out your interface, back into an input through a suitably long cable, record the audio on a new track, then,
playback that recorded metronome the same way, recording the playback audio onto yet another track, between the two, you can find exactly how many samples off your ASIO driver is from latency monitoring. You can then make an adjustment to your offset by this number of samples, and voila! all of your overdubs will be sample-perfect!