Prototypical Distillation and Debiased Tuning for Black-box Unsupervised Domain Adaptation