I hardly see a way Louis could have acquiesced to such a thing as England switching from something resembling friendship to outright enmity. Actually, the war started from other matters, dynastic stuff in the Empire IIRC. Louis could be convinced to keep quiet there and focus on a war on England and the Netherlands. Not that France could really win this,(England and the Netherlands together had far stronger navies) but it could be a way to delay the outbreak in continental Europe, that can be a fairly good bonus for France.
IOTL the proximate cause of the war was Louis XIV's ultimatum to William of Orange stating that he would regard an invasion of England by William as a
casus belli. Louis actually did very well in that war, gaining Franche-Comte and other territories, but the end result was to unite the Empire, England, and the Dutch against him with ultimately disastrous results.
Given that there were other factors which would have eventually resulted in conflict the war is inevitable; but the longer Louis puts it off the better shape France will be in when it comes. He may not like the idea of a Protestant William replacing a Catholic James on the English throne but that doesn't automatically mean England will be hostile nor that he has to go to war over it.
And my wiser humbler Louis does pay attention to finances; wars are fought with livres as well as bullets and he fully understands that.