A missile nearly hit the jet after Rwandan forces said the Democratic Republic of Congo had violated its airspace.