Someone gifted me a dress which I wore for a few minutes. At the end of the year, since I still don't require it, will khums apply on it?

Wearing it for few minutes does nor reflect a real need.
Hence, yes, you need to pay the khoms according to its value now, if you want to sell it.