In a trying week, Speaker Paul D. Ryan took shots from his unruly House conservatives, but he deftly channeled their anger onto the Trump administration.