The Page curve of Hawking radiation from semiclassical geometry