But studios remain focused on young ticket buyers — even though data from the Motion Picture Association of America indicates that older moviegoers are more loyal customers — and that leads to raunchy comedies, especially at a time when the limits of tastefulness continue to be tested culturewide.