Conservative critics of New Hampshire’s academic standards have an unlikely source of inspiration: Massachusetts.