1950 in figurative sense, from literal use in certain forms of poker (1941), from wild (adj.) + card (n.1). The phrase was used occasionally c. 1900 in British and Irish writing to mean "drinking, free-spirited man."
the weather was a wild card
wild goose chase