A soon-to-be-released presidential directive reflects an effort by the White House to be better prepared to meet 21st-century threats.