This is what the new text bill Page 604 Conference Agreement on the subject is saying, you can try it on your own risk:
The conference agreement also provides that, in the case of an amount paid in a taxable
year beginning before January 1, 2018, with respect to a State or local income tax imposed for a
taxable year beginning after December 31, 2017, the payment shall be treated as paid on the last
day of the taxable year for which such tax is so imposed for purposes of applying the provision
limiting the dollar amount of the deduction. Thus, under the provision, an individual may not
claim an itemized deduction in 2017 on a pre-payment of income tax for a future taxable year in
order to avoid the dollar limitation applicable for taxable years beginning after 2017.