Algeria’s jailing of writer for remarks on border with regional rival Morocco inflames tensions with France.