Former inmate wins $18,000 poetry prize