"if it takes a worker 2 hours to make product X, but then a new technology comes along which makes it only take 1 hour to make product X, then the value of labor has doubled."
Wages are set by the supply and demand of labor, not by how much a product can sell for. The hypothetical new technology leaves the supply of labor unchanged, but the demand for the labor is reduced.
"Then the owner has a choice, he can either double all the salaries of his employees and have the same income for himself, or else fire half his employees and double his profit."
Have you actually pretended to be the owner in this thought experiment? Why would the owner double their salaries?
You owe it to yourself to take an introductory economics course, because your comment flies against everything that such a class would teach.