Wigan relegation confirmed as appeal fails