WASHINGTON — In a contentious public exchange laying bare the shifting balance of power between the executive branch and legacy media, White House Press Secretary Karoline Leavitt mounted an aggressive defense of the Trump administration’s media strategy, arguing that curtailing the permanent privileges of traditional news organizations is an overdue modernization effort rather than an act of political retribution.