This 77-year-old climate activist should never have been jailed – and now faces a Kafkaesque struggle to get out | Zoe Williams