The US president visited the Wisconsin city, where Jacob Blake was shot by police, despite pleas from local officials.