Millions of girls are still out of school in Pakistan because the government spends little on girls’ education, a leading international rights group said.