Niger’s mutinous soldiers closed the country’s airspace and accused foreign powers of preparing an attack, as the junta defied a deadline to restore the ousted president and said any attempt to fly over the country will be met with “an energetic and immediate response.”