Authorities in North Carolina and Texas have arrested two teenagers accused of conspiring to attack a Houston synagogue, according to police and court documents.