Saudi Arabia says it has closed embassy in Cairo because of protests over detained Egyptian.