Three people have been wounded, two seriously, in a suspected shooting attack next to Beit El settlement in the West Bank.