US President Joe Biden has defended the US withdrawal from Afghanistan, calling it a choice between "leaving or escalating".