President Xi Jinping and other leaders knew about the seriousness of outbreak weeks before it was revealed to the public, speech indicates.