Iowa ranked among the worst states for working from home, according to personal finance website WalletHub.