Michael Cohen accused Donald Trump and others of violating his constitutional rights after being imprisoned, but the Supreme Court upheld a lower court's ruling