A debate around attorney-client privilege that has reached the US Supreme Court could have far-reaching consequences