I can't find it in the jargon file: http://catb.org/jargon/html/D.html

(someone really needs to make a new jargon file, if not out of practicality then for archival reasons)

It comes from leetspeak. Identity documents -> docs -> dox