Georgian president elected amid protests