Legislation would require US president to consult with Jerusalem to ensure qualitative military edge concerns are settled; proposal comes ahead of planned sale of F-35s to UAE