BOISE, Idaho — Political hostility to public education in the Republican-dominated Idaho Legislature is causing some businesses to doubt the wisdom of moving to or expanding in a state that ranks at or near the bottom in what it spends on K-12 students and has one of the nation’s worst graduation rates.