It is not a precise definition. a gourmet is someone with a discerning palate, so as regards coffee gourmet coffee would be coffee enjoyed by those with discerning palates, appreciative of the subtle nuances of coffee taste.
In reality "gourmet" is a marketing term that means something like "better than you can buy in a grocery".