Maximal solution of the Liouville equation in doubly connected domains