Prince William has praised Gareth Southgate as a "class act" following the England manager's departure in the wake of the Euro 2024 final defeat.