Qatar, a key U.S. ally in the Persian Gulf, is facing increased scrutiny over its alleged financial ties to terrorism in a lawsuit from relatives of a slain American journalist and a separate federal investigation into a member of the country’s royal family.