Drinking red wine could help protect against lung disease, research has shown.