A driver suspected of causing a fuel tanker to overturn on a highway in Cairo, resulting in an inferno that killed 31 people, has been detained by authorities.