The incoming prime minister has pledged domestic renewal but world events may soon force him to look towards bolstering defence