The labor movement’s allies control the White House and Congress, but union leaders have been distracted by disputes.