Nonlinear I-V characteristics of two-dimensional superconductors: Berezinskii-Kosterlitz-Thouless physics versus inhomogeneity