A uniqueness theorem for distributions and its application to nonlocal quantum field theory