Democrat swing candidate called Biden’s border handling ‘a huge misstep’ after backing his approach as mayor