Senior White House and Justice Department officials are considering plans for legal action against Colorado and Washington that could undermine voter-approved initiatives to legalize the recreational use of marijuana in those states, according to several people familiar with the deliberations.