There is an entry in the OED, and there's one in Farmer and Henley. Apparently a variant/alteration of "quiz", meaning an odd-looking person or thing; also used as a nonspecific interjection; apparently popular in the 1790's. Partridge likens this interjection to the mid-20th-century "sez you". -- Doug Wilson