Nato’s secretary-general hopes the bloc will agree to fund Afghan security forces until 2024.