The gender pay gap for head teachers has widened to the worst level in up to 13 years, new research suggests.