Roger Rogoff, a US attorney dismissed shortly after his appointment by the Trump administration, has filed a lawsuit challenging his removal.