A US federal court has dismissed proceedings under which the Saudi government was accused of providing logistical support to the al-Qaeda.