Armed forces say Tehran will respond at ‘appropriate time’ but emphasise importance of Gaza and Lebanon ceasefire