The comedian turns to a dramatic role in the new romantic film “The Photograph,” which hits theaters on Valentine’s Day.