WASHINGTON—The White House and Saudi Arabia traded sharp words over the suspected killing of a dissident Saudi journalist as the case tests the Trump administration efforts to make the kingdom the linchpin of its Middle East policy.

On Sunday, Riyadh vowed to retaliate against any punitive measures from Washington and delivered a pointed reminder that the world’s top oil exporter “plays an impactful and active role in the global economy.”

The...