In its first major act of defiance since Senator Barack Obama’s election, North Korea said Wednesday that it would bar international nuclear inspectors from taking soil and nuclear waste samples, which are considered crucial to determining the extent of its weapons program.