Thermal transport and energy dissipation in two-dimensional Bi2O2Se