Iran executed a once-exiled journalist over his online work that helped inspire nationwide economic protests in 2017.