A federal judge will consider whether to block Trump adviser Elon Musk’s team from accessing systems at the Labor Department, which has investigated the billionaire’s companies.