Frequent-flyer programs get relatively little attention from Wall Street, and their financial importance to the airlines is not widely understood by travelers, who just hope to earn a free flight now and then.