Ex-security chief John Lee elected Hong Kong’s next leader