Cosmological large-scale structures beyond linear theory in modified gravity