A federal judge has blocked the Trump administration’s demands for confidential transgender patient information from Rhode Island’s largest hospital.