Improving Logits-based Detector without Logits from Black-box LLMs