Birthright citizenship ruling backs US president’s claims that lower courts have interfered with policy initiatives