A geometric approach to Gauss composition with applications to proper surfaces in the 4-ball