CNN defamation trial comes at a rough time for legacy media — and for the struggling network