Learn a hidden fact. Find out via gossip. Discover information indirectly rather than first-hand. ‘Wind’ suggests that one heard about something important floating in the air as opposed to be told directly. (Compare to Word on the street.)
“I got wind that you are thinking of getting married.”