CPJ writes to Somali president about detained journalist