Hospital groups challenged the Trump administration’s rule that requires hospitals to be more transparent about prices they charge patients for healthcare services, according to a filed lawsuit.