Security footage shows assailant struggling with guard, then running off and returning to hurl feces at building; rabbi and worshipers reportedly inside at the time