The ionizing star of the North America and Pelican nebulae