MADRID — Spain’s conservative prime minister, Mariano Rajoy, is not known as a gambling man. But as Europe’s debt crisis stretches on, he is playing a tense game of chicken with the financial markets, betting that Spain can balance its books with homegrown austerity while putting off — maybe forever — a humiliating bailout from the European Union.