Mark Zuckerberg has hired Hugo Barra, formerly of Xiaomi and Google, to lead Facebook’s push into the new world of virtual reality.