Measuring nanowire thermal conductivity at high temperatures