Field dependence of thermal conductivity in the iron-based superconductor KFe$_{2}$As$_{2}$: Evidence of a $d$-wave state