Endpoint estimates and global existence for the nonlinear Dirac equation with potential