X-Ray effects in charge-ordered manganites: a magnetic mechanism of persistent photoconductivity