S. Korea declares national emergency as wildfire burns