The Princess of Wales is “doing really well” and has been “amazing this whole year”, said her husband as he celebrated Earthshot Prize finalists.