Yes, you can have a layover in the United States without an ESTA. In this case, you must present a transit visa, which you can get through the U.S. Embassy.