The King’s School’s headmaster alleged that independent schools for boys had become the target of the government and the media in recent years.