An election in Greenland that could have changed the face of the global rare earth market has been won by a party opposed to mining the valuable commodities