Switzerland's Jolanda Neff won the first gold medal of the inaugural European Games in Baku, Azerbaijan, leading the way in the women's cross-country mountain biking.