In a hearing on a lawsuit alleging President Trump violated the rights of people he’s blocked on Twitter, a judge offered an idea for a novel settlement.