David Cameron is already plotting for 2020 – and his own legacy