Venkata Vasamsetty’s case shows how immigrants with years of lawful status can become subject to detention and deportation.