Military says two Palestinian men were arrested days after incident in which they dropped submachine gun, then hit soldier with their car at checkpoint in the northern West Bank